package com.zfzs.post.modules.excel.service;

import com.zfzs.post.modules.excel.domain.SysUploadExcel;
import com.zfzs.post.modules.excel.service.dto.SysUploadExcelQueryCriteria;
import org.springframework.data.domain.Pageable;

/**
* @author ck
* @date 2019-12-04
*/
public interface SysUploadExcelService {

    /**
    * queryAll 分页
    * @param criteria
    * @param pageable
    * @return
    */
    Object queryAll(SysUploadExcelQueryCriteria criteria, Pageable pageable);

    /**
    * queryAll 不分页
    * @param criteria
    * @return
    */
    Object queryAll(SysUploadExcelQueryCriteria criteria);

    /**
     * findById
     * @param id
     * @return
     */
    SysUploadExcel findById(Integer id);

    /**
     * create
     * @param resources
     * @return
     */
    SysUploadExcel create(SysUploadExcel resources);

    /**
     * update
     * @param resources
     */
    void update(SysUploadExcel resources);

    /**
     * delete
     * @param id
     */
    void delete(Integer id);
}